<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
	<!-- < jsp:useBean> 动作 -->
	<jsp:useBean id="stu" class="com.niit.Student" scope="request">
		<jsp:setProperty name="stu" property="id" value="2024101701"/>
		<jsp:setProperty name="stu" property="name" value="zhangsan"/>
		<jsp:setProperty name="stu" property="age" value="20"/>
	</jsp:useBean>

	<div>学号：
		<jsp:getProperty name="stu" property="id"/>
	</div>
	<div>姓名：
		<jsp:getProperty name="stu" property="name"/>
	</div>
	<div>年龄：
		<jsp:getProperty name="stu" property="age"/>
	</div>
	
</body>
</html>